package com.ruoyi.medicine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产厂家信息对象 his_medicine_factory
 * 
 * @author ruoyi
 * @date 2024-09-04
 */
public class HisMedicineFactory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 厂家ID */
    private Long factoryId;

    /** 厂家名称 */
    @Excel(name = "厂家名称")
    private String factoryName;

    /** 厂家编码 */
    @Excel(name = "厂家编码")
    private String factoryCode;

    /** 厂家联系人 */
    @Excel(name = "厂家联系人")
    private String factoryPerson;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String factoryPhone;

    /** 厂家关键字 */
    @Excel(name = "厂家关键字")
    private String factoryKeyword;

    /** 厂家地址 */
    @Excel(name = "厂家地址")
    private String factoryAddress;

    /** （0正常 1 禁用） */
    @Excel(name = "", readConverterExp = "0=正常,1=,禁=用")
    private String status;

    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryPerson(String factoryPerson) 
    {
        this.factoryPerson = factoryPerson;
    }

    public String getFactoryPerson() 
    {
        return factoryPerson;
    }
    public void setFactoryPhone(String factoryPhone) 
    {
        this.factoryPhone = factoryPhone;
    }

    public String getFactoryPhone() 
    {
        return factoryPhone;
    }
    public void setFactoryKeyword(String factoryKeyword) 
    {
        this.factoryKeyword = factoryKeyword;
    }

    public String getFactoryKeyword() 
    {
        return factoryKeyword;
    }
    public void setFactoryAddress(String factoryAddress) 
    {
        this.factoryAddress = factoryAddress;
    }

    public String getFactoryAddress() 
    {
        return factoryAddress;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("factoryId", getFactoryId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("factoryPerson", getFactoryPerson())
            .append("factoryPhone", getFactoryPhone())
            .append("factoryKeyword", getFactoryKeyword())
            .append("factoryAddress", getFactoryAddress())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
